MouseWheel

An event indicating that the mouse wheel button has been rotated.

Types

Link copied to clipboard
class Builder
A builder of MouseWheel.

Functions

Link copied to clipboard
open fun deltaX(): Float
Returns the amount of units to scroll horizontally.
Link copied to clipboard
open fun deltaY(): Float
Returns the amount of units to scroll vertically.
Link copied to clipboard
Returns the keyboard modifiers applied.
Link copied to clipboard
open fun location(): Point
Returns the mouse position relative to the bounds of the browser instance.
Link copied to clipboard
Returns the mouse position relative to the bounds of the screen.
Link copied to clipboard
open fun newBuilder(location: Point): MouseWheel.Builder
Creates a new MouseWheel builder with the given required parameters.
Link copied to clipboard
open fun scrollType(): ScrollType
Returns the scroll type of the event.